package com.yanqu.road.entity.log.cross.stronghold;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_l_ck_stronghold_mammon_help", desc = "商会据点战淘汰赛财神助力日志", autoSave = true, uploadCk = true, isCross = true)
public class LogStrongholdMammonHelp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "大类型")
    private int bigType;
    @FieldTypeAnnotation(desc = "小类型")
    private int childType;
    @FieldTypeAnnotation(desc = "联盟列表， all表示所有， 联盟id 以 ， 分隔")
    private List<String> unionList = new ArrayList<>();
    @FieldTypeAnnotation(desc = "总伤害")
    private String totalDamage;
    @FieldTypeAnnotation(desc = "是否全部据点造成杀害， 1是 0否")
    private boolean all;

    public LogStrongholdMammonHelp(int activityId, long userId, int bigType, int childType, List<String> unionList, String totalDamage, boolean all) {
        this.activityId = activityId;
        this.userId = userId;
        this.bigType = bigType;
        this.childType = childType;
        this.unionList = unionList;
        this.totalDamage = totalDamage;
        this.all = all;
    }

    public long getUserId() {
        return userId;
    }

}
